<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:forgeview="http://jboss.org/forge/view"
	template="/resources/scaffold/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{sysParameterMasterBean.id}"/>
		<f:event type="preRenderView" listener="#{sysParameterMasterBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="View Sys Parameter Master"/>

	<ui:define name="header">
		Sys Parameter Master
	</ui:define>

	<ui:define name="subheader">
		View existing Sys Parameter Master
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:panelGrid columnClasses="label,component,required" columns="3">
			<h:outputLabel for="sysParameterMasterBeanSysParameterMasterParamNo" value="Param No:"/>
			<h:outputText id="sysParameterMasterBeanSysParameterMasterParamNo" value="#{sysParameterMasterBean.sysParameterMaster.paramNo}"/>
			<h:outputText/>
			<h:outputLabel for="sysParameterMasterBeanSysParameterMasterSysParameterGroup" value="Sys Parameter Group:"/>
			<h:link id="sysParameterMasterBeanSysParameterMasterSysParameterGroup" outcome="/sysParameterGroup/view" value="#{sysParameterMasterBean.sysParameterMaster.sysParameterGroup}">
				<f:param name="id" value="#{sysParameterMasterBean.sysParameterMaster.sysParameterGroup.paramGrpNo}"/>
			</h:link>
			<h:outputText/>
			<h:outputLabel for="sysParameterMasterBeanSysParameterMasterParamCode" value="Param Code:"/>
			<h:outputText id="sysParameterMasterBeanSysParameterMasterParamCode" value="#{sysParameterMasterBean.sysParameterMaster.paramCode}"/>
			<h:outputText/>
			<h:outputLabel for="sysParameterMasterBeanSysParameterMasterParamDescr" value="Param Descr:"/>
			<h:outputText id="sysParameterMasterBeanSysParameterMasterParamDescr" value="#{sysParameterMasterBean.sysParameterMaster.paramDescr}"/>
			<h:outputText/>
			<h:outputLabel for="sysParameterMasterBeanSysParameterMasterSysUserParameters" value="Sys User Parameters:"/>
			<h:dataTable id="sysParameterMasterBeanSysParameterMasterSysUserParameters" styleClass="data-table" value="#{forgeview:asList(sysParameterMasterBean.sysParameterMaster.sysUserParameters)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys User Account"/>
					</f:facet>
					<h:link outcome="/sysUserParameter/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSysUserAccount" value="#{forgeview:display(_item.sysUserAccount)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Param String Val"/>
					</f:facet>
					<h:link outcome="/sysUserParameter/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemParamStringVal" value="#{_item.paramStringVal}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Param Number Val"/>
					</f:facet>
					<h:link outcome="/sysUserParameter/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemParamNumberVal" value="#{_item.paramNumberVal}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysParameterMasterBeanSysParameterMasterSysApplicationParameters" value="Sys Application Parameters:"/>
			<h:dataTable id="sysParameterMasterBeanSysParameterMasterSysApplicationParameters" styleClass="data-table" value="#{forgeview:asList(sysParameterMasterBean.sysParameterMaster.sysApplicationParameters)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Application"/>
					</f:facet>
					<h:link outcome="/sysApplicationParameter/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSysApplication" value="#{forgeview:display(_item.sysApplication)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Param String Val"/>
					</f:facet>
					<h:link outcome="/sysApplicationParameter/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemParamStringVal" value="#{_item.paramStringVal}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Param Number Val"/>
					</f:facet>
					<h:link outcome="/sysApplicationParameter/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemParamNumberVal" value="#{_item.paramNumberVal}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysParameterMasterBeanSysParameterMasterSdCustParameters" value="Sd Cust Parameters:"/>
			<h:dataTable id="sysParameterMasterBeanSysParameterMasterSdCustParameters" styleClass="data-table" value="#{forgeview:asList(sysParameterMasterBean.sysParameterMaster.sdCustParameters)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sd Cust"/>
					</f:facet>
					<h:link outcome="/sdCustParameter/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSdCust" value="#{forgeview:display(_item.sdCust)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Cust Param String Val"/>
					</f:facet>
					<h:link outcome="/sdCustParameter/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemCustParamStringVal" value="#{_item.custParamStringVal}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Cust Param Number Val"/>
					</f:facet>
					<h:link outcome="/sdCustParameter/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemCustParamNumberVal" value="#{_item.custParamNumberVal}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysParameterMasterBeanSysParameterMasterSdCustUserParameters" value="Sd Cust User Parameters:"/>
			<h:dataTable id="sysParameterMasterBeanSysParameterMasterSdCustUserParameters" styleClass="data-table" value="#{forgeview:asList(sysParameterMasterBean.sysParameterMaster.sdCustUserParameters)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sd Cust User Account"/>
					</f:facet>
					<h:link outcome="/sdCustUserParameter/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSdCustUserAccount" value="#{forgeview:display(_item.sdCustUserAccount)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Cust User Param String Val"/>
					</f:facet>
					<h:link outcome="/sdCustUserParameter/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemCustUserParamStringVal" value="#{_item.custUserParamStringVal}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Cust User Param Number Val"/>
					</f:facet>
					<h:link outcome="/sdCustUserParameter/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemCustUserParamNumberVal" value="#{_item.custUserParamNumberVal}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
		</h:panelGrid>

		<div class="buttons">
			<h:link value="View All" outcome="search" styleClass="btn btn-primary"/> 
			<h:link value="Edit" outcome="create" includeViewParams="true" styleClass="btn btn-primary"/>
			<h:link value="Create New" outcome="create" styleClass="btn btn-primary"/>
		</div>
	</ui:define>

</ui:composition>